﻿using System.Windows;

namespace AMing.Extension.WindowsPhone8
{
    public static class ExtensionUIElement
    {
        /// <summary>
        /// 显示
        /// </summary>
        /// <param name="uie"></param>
        public static void ThisShow(this UIElement uie)
        {
            uie.Visibility = Visibility.Visible;
        }
        /// <summary>
        /// 隐藏
        /// </summary>
        /// <param name="uie"></param>
        public static void ThisHide(this UIElement uie)
        {
            uie.Visibility = Visibility.Collapsed;
        }
    }
}
